package com.hsteach.web.controller.visit.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hsteach.dao.domain.visit.VisitInterestTag;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@ApiModel(value = "GetVisitRecordDto", description = "查询家访记录")
@Data
public class GetVisitRecordDto extends AddVisitRecordDto {

    @ApiModelProperty(value = "家访地址", required = true)
    private String visitAddr;

    @ApiModelProperty(value = "家访时间", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date visitDate;
    @ApiModelProperty(value = "预约人", required = true)
    private String appointmentId;

    private List<VisitInterestTag> recordTags;

}
